add_library(Server
    Server.cpp
    JSONConversion.cpp
    GetWorkServer.cpp
    LookupServer.cpp
    StakingServer.cpp
    StatusServer.cpp
    DedicatedWebsocketServer.cpp
    IsolatedServer.cpp
    EthRpcMethods.h
    EthRpcMethods.cpp
    APIServerImpl.cpp
    APIThreadPool.cpp
    WebsocketServerImpl.cpp
    LocalAPIServer.cpp)

target_include_directories(Server PUBLIC
    ${PROJECT_SOURCE_DIR}/src)

target_link_libraries(Server PUBLIC
    jsonrpc
    AccountStore
    AccountData
    Eth)

